package model.service.threads;

import java.sql.Connection;
import java.util.List;

import controller.main.Constants;
import controller.main.Executer;
import model.DbAccess.ConnectionManager;
import model.dto.Location;
import model.service.ChubJobs;
import model.service.FtpController;

public class DatabaseCallerThread implements Runnable{

	
	String interfaceName ;
	String country;
	String fileName;
	
	
	public DatabaseCallerThread(String country , String interfaceName , String fileName)
	{
		this.interfaceName= interfaceName ;
		this.country= country ;
		this.fileName= fileName ;
	}
	
	
	public void run() 
	{
		 ConnectionManager connectionManager = new ConnectionManager();
		 connectionManager.callDBToLoadFiles(this.country,this.interfaceName,this.fileName);
	}
	
}
